class CreateNavigations < ActiveRecord::Migration
  def self.up
    create_table :navigations, :options => 'CHARSET=utf8, ENGINE=Innodb', :force => true do |t|
      t.column :nav_type, :string
      t.column :title, :string
      t.column :link, :string
      t.column :sort_order, :integer
      t.column :is_show, :boolean
      t.column :open_new, :boolean
      t.timestamps
    end
  end

  def self.down
    drop_table :navigations
  end
end
